/*--------------------------------------------------*/
/*VirtualSociety System ServiceModuleTemplate Main File*/
/*CreateBy SRPLab                */
/*CreateDate: 2011-3-29  */
/*--------------------------------------------------*/
#include "SRPSAGGLibEngine_VSHeader.h"

/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*Function SAggPathClass Is Extracted From ScriptFile */
/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
#define SAGGPATHCLASS_OBJECT_DEPENDINDEX                                                             0x00000001
#define SAGGPATHCLASS_C_CLEAR_FUNCRETURN_DEPENDINDEX                                                 0X00000002
#define SAGGPATHCLASS_C_CLEAR_FUNCPARAM_DEPENDINDEX                                                  0X00000003
#define SAGGPATHCLASS_CLEAR_FUNCRETURN_DEPENDINDEX                                                   0X00000004
#define SAGGPATHCLASS_CLEAR_FUNCPARAM_DEPENDINDEX                                                    0X00000005
#define SAGGPATHCLASS_C_MOVETO_FUNCRETURN_DEPENDINDEX                                                0X00000006
#define SAGGPATHCLASS_C_MOVETO_FUNCPARAM_DEPENDINDEX                                                 0X00000007
#define SAGGPATHCLASS_MOVETO_FUNCRETURN_DEPENDINDEX                                                  0X00000008
#define SAGGPATHCLASS_MOVETO_FUNCPARAM_DEPENDINDEX                                                   0X00000009
#define SAGGPATHCLASS_C_LINETO_FUNCRETURN_DEPENDINDEX                                                0X0000000A
#define SAGGPATHCLASS_C_LINETO_FUNCPARAM_DEPENDINDEX                                                 0X0000000B
#define SAGGPATHCLASS_LINETO_FUNCRETURN_DEPENDINDEX                                                  0X0000000C
#define SAGGPATHCLASS_LINETO_FUNCPARAM_DEPENDINDEX                                                   0X0000000D
#define SAGGPATHCLASS_C_ARCTO_FUNCRETURN_DEPENDINDEX                                                 0X0000000E
#define SAGGPATHCLASS_C_ARCTO_FUNCPARAM_DEPENDINDEX                                                  0X0000000F
#define SAGGPATHCLASS_ARCTO_FUNCRETURN_DEPENDINDEX                                                   0X00000010
#define SAGGPATHCLASS_ARCTO_FUNCPARAM_DEPENDINDEX                                                    0X00000011
#define SAGGPATHCLASS_C_CURVE3_FUNCRETURN_DEPENDINDEX                                                0X00000012
#define SAGGPATHCLASS_C_CURVE3_FUNCPARAM_DEPENDINDEX                                                 0X00000013
#define SAGGPATHCLASS_CURVE3_FUNCRETURN_DEPENDINDEX                                                  0X00000014
#define SAGGPATHCLASS_CURVE3_FUNCPARAM_DEPENDINDEX                                                   0X00000015
#define SAGGPATHCLASS_C_CURVE4_FUNCRETURN_DEPENDINDEX                                                0X00000016
#define SAGGPATHCLASS_C_CURVE4_FUNCPARAM_DEPENDINDEX                                                 0X00000017
#define SAGGPATHCLASS_CURVE4_FUNCRETURN_DEPENDINDEX                                                  0X00000018
#define SAGGPATHCLASS_CURVE4_FUNCPARAM_DEPENDINDEX                                                   0X00000019
#define SAGGPATHCLASS_C_CLOSE_FUNCRETURN_DEPENDINDEX                                                 0X0000001A
#define SAGGPATHCLASS_C_CLOSE_FUNCPARAM_DEPENDINDEX                                                  0X0000001B
#define SAGGPATHCLASS_CLOSE_FUNCRETURN_DEPENDINDEX                                                   0X0000001C
#define SAGGPATHCLASS_CLOSE_FUNCPARAM_DEPENDINDEX                                                    0X0000001D

VS_INT32 SRPCALLBACK SAggPathClass_QueryObjectInfo(VS_OBJECTMODULEINFO *VSObjectModuleInfo)
{
    VSObjectModuleInfo -> ObjectVersion = 0;
    VSObjectModuleInfo -> ObjectSubVersion = 0;
    VSObjectModuleInfo -> ObjcetBugFixVersion = 0;
    VSObjectModuleInfo -> VSVersion = 0;
    VSObjectModuleInfo -> VSSubVersion = 0;

    VSObjectModuleInfo -> CreateTime.wYear = 2011;
    VSObjectModuleInfo -> CreateTime.wMonth = 3;
    VSObjectModuleInfo -> CreateTime.wDay = 29;
    VSObjectModuleInfo -> UpdateTime.wYear = 2011;
    VSObjectModuleInfo -> UpdateTime.wMonth = 3;
    VSObjectModuleInfo -> UpdateTime.wDay = 29;

    strcpy( VSObjectModuleInfo -> AuthorityInfo, "" );
    strcpy( VSObjectModuleInfo -> LicenseInfo, "" );
    strcpy( VSObjectModuleInfo -> ExtendInfo, "" );

    return 0;
}

VS_INT32 SRPCALLBACK SAggPathClass_RequestRegisterObject()
{
    VS_DEPENDATTRIBUTE LocalDependAttribute[512];  /*---set a large number*/
    VS_INT32 DependIndexNumber,DependIndex[64];

    //------register object depend
    VSATTRDEPEND_SAGGPATHCLASS(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_OBJECT_DEPENDINDEX,VSOBJID_SAggPathClass,VSMODULEDEPEND_OBJECT,VSATTRDEPENDNUM_SAGGPATHCLASS,LocalDependAttribute);

    //------register function depend
    VSFUNCRETURNDEPEND_SAGGPATHCLASS_C_CLEAR(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_CLEAR_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_C_Clear,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_C_CLEAR,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_C_CLEAR(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_CLEAR_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_C_Clear,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_C_CLEAR,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGPATHCLASS_CLEAR(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_CLEAR_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_Clear,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_CLEAR,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_CLEAR(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_CLEAR_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_Clear,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_CLEAR,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGPATHCLASS_C_MOVETO(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_MOVETO_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_C_MoveTo,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_C_MOVETO,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_C_MOVETO(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_MOVETO_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_C_MoveTo,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_C_MOVETO,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGPATHCLASS_MOVETO(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_MOVETO_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_MoveTo,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_MOVETO,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_MOVETO(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_MOVETO_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_MoveTo,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_MOVETO,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGPATHCLASS_C_LINETO(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_LINETO_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_C_LineTo,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_C_LINETO,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_C_LINETO(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_LINETO_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_C_LineTo,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_C_LINETO,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGPATHCLASS_LINETO(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_LINETO_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_LineTo,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_LINETO,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_LINETO(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_LINETO_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_LineTo,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_LINETO,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGPATHCLASS_C_ARCTO(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_ARCTO_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_C_ArcTo,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_C_ARCTO,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_C_ARCTO(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_ARCTO_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_C_ArcTo,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_C_ARCTO,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGPATHCLASS_ARCTO(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_ARCTO_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_ArcTo,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_ARCTO,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_ARCTO(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_ARCTO_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_ArcTo,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_ARCTO,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGPATHCLASS_C_CURVE3(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_CURVE3_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_C_Curve3,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_C_CURVE3,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_C_CURVE3(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_CURVE3_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_C_Curve3,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_C_CURVE3,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGPATHCLASS_CURVE3(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_CURVE3_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_Curve3,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_CURVE3,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_CURVE3(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_CURVE3_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_Curve3,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_CURVE3,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGPATHCLASS_C_CURVE4(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_CURVE4_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_C_Curve4,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_C_CURVE4,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_C_CURVE4(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_CURVE4_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_C_Curve4,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_C_CURVE4,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGPATHCLASS_CURVE4(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_CURVE4_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_Curve4,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_CURVE4,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_CURVE4(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_CURVE4_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_Curve4,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_CURVE4,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGPATHCLASS_C_CLOSE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_CLOSE_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_C_Close,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_C_CLOSE,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_C_CLOSE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_C_CLOSE_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_C_Close,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_C_CLOSE,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGPATHCLASS_CLOSE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_CLOSE_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggPathClass_Close,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGPATHCLASS_CLOSE,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGPATHCLASS_CLOSE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,SAGGPATHCLASS_CLOSE_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggPathClass_Close,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGPATHCLASS_CLOSE,LocalDependAttribute);

    //------object function
    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_C_CLEAR_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_C_CLEAR_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_C_Clear,(void *)SAggPathClass_C_Clear,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_CLEAR_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_CLEAR_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_Clear,(void *)SAggPathClass_Clear,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_C_MOVETO_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_C_MOVETO_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_C_MoveTo,(void *)SAggPathClass_C_MoveTo,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_MOVETO_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_MOVETO_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_MoveTo,(void *)SAggPathClass_MoveTo,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_C_LINETO_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_C_LINETO_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_C_LineTo,(void *)SAggPathClass_C_LineTo,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_LINETO_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_LINETO_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_LineTo,(void *)SAggPathClass_LineTo,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_C_ARCTO_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_C_ARCTO_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_C_ArcTo,(void *)SAggPathClass_C_ArcTo,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_ARCTO_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_ARCTO_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_ArcTo,(void *)SAggPathClass_ArcTo,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_C_CURVE3_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_C_CURVE3_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_C_Curve3,(void *)SAggPathClass_C_Curve3,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_CURVE3_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_CURVE3_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_Curve3,(void *)SAggPathClass_Curve3,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_C_CURVE4_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_C_CURVE4_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_C_Curve4,(void *)SAggPathClass_C_Curve4,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_CURVE4_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_CURVE4_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_Curve4,(void *)SAggPathClass_Curve4,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_C_CLOSE_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_C_CLOSE_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_C_Close,(void *)SAggPathClass_C_Close,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGPATHCLASS_CLOSE_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGPATHCLASS_CLOSE_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,VSFUNCID_SAggPathClass_Close,(void *)SAggPathClass_Close,DependIndexNumber,DependIndex);

    //------object sysevent process
    DependIndexNumber = 1;
    DependIndex[0] = SAGGPATHCLASS_OBJECT_DEPENDINDEX;
    pSRP -> RegisterObjectSysEvent( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,(void *)SAggPathClass_OnSystemEvent,DependIndexNumber,DependIndex);

    //------object message process
    pSRP -> RegisterQueryObjectInfo( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggPathClass,(void *)SAggPathClass_QueryObjectInfo);

    return 0;
}

